
package tw.cuttle.view.parameter;

import java.io.*;

import org.apache.commons.fileupload.FileItem;

public interface FormFile
{

 public abstract String getContentType();

 public abstract void setContentType(String s);

 public abstract int getFileSize();

 public abstract void setFileSize(int i);

 public abstract String getFileName();

 public abstract void setFileName(String s);

 public abstract byte[] getFileData()
     throws FileNotFoundException, IOException;

 public abstract InputStream getInputStream()
     throws FileNotFoundException, IOException;

 public abstract void destroy();
	public void setFileItem(FileItem fileItem);
	public FileItem getFileItem();
}